﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Kiel.Pdf
{
	/// <summary>
	/// Represents a comment within the PDF file.
	/// </summary>
	class Comment
	{
		/// <summary>
		/// Initializes a new empty <see cref="Comment"/>.
		/// </summary>
		public Comment()
		{ }

		/// <summary>
		/// Initializes a new <see cref="Comment"/> using the given text.
		/// </summary>
		/// <param name="text"></param>
		public Comment(string text)
		{
			this.Text = text;
		}

		public string Text { get; set; }

		public override string ToString()
		{
			return string.Format("%{0}", this.Text);
		}
	}
}
